home *** CD-ROM | disk | FTP | other *** search
Java Source | 2000-09-08 | 351 b | 16 lines |
- /*
- * <applet code="WhatFontsAreHere" width=100 height=40>
- * </applet>
- *
- */
- import java.applet.*;
- import java.awt.*;
- public class WhatFontsAreHere extends Applet {
- public void init() {
- String FontList[];
- FontList = getToolkit().getFontList();
- for (int i=0; i < FontList.length; i++) {
- System.out.println(i + ": " + FontList[i]);
- }
- } }
-